﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Front/Site.Master" AutoEventWireup="true" CodeBehind="LineDetail.aspx.cs" Inherits="VK.Casemeet.Web.Front.LineDetail" %>

<%@ Import Namespace="VK.Casemeet" %>
<%@ Import Namespace="VK.Casemeet.Lines" %>
<%@ Import Namespace="VK.Casemeet.Areas" %>
<%@ Register src="Controls/ShopCard.ascx" tagname="ShopCard" tagprefix="uc1" %>

<%@ Register src="Controls/TopLine.ascx" tagname="TopLine" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
    <link href="/Front/css/style.css" type="text/css" rel="stylesheet" charset="utf-8" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentBody" runat="server">
<div id="content_width">
		<!------banner------>
		<div id="info_banner"><img src="/Front/images/info_banner.jpg"/></div>
		<!----首页内容-----> 
		<div id="content">
			<div id="sidebar">
				<div class="search bg border">
					<div class="title bluetitle"><h3>活动搜索</h3><div class="clear"></div></div>
					<div class="search_con">
						<% =PackFilterLeft() %>
					</div>
				</div>
				<div class="bg border spacing">
				    <uc1:ShopCard ID="ShopCard1" runat="server" />
				</div>
				<div class="hot_club bg border spacing">
					<div class="title bluetitle"><h3>热门线路</h3><div class="clear"></div></div>
					<ul>
						<uc1:TopLine ID="TopLine1" runat="server" SortField="[Line].[Hits]" />
					</ul>
				</div>
			</div>
			<div id="main">
				<div class="breadcrumbs">
					<div class="title graytitle"><p>当前位置 >  <a href="/Default_<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>.html">首页</a> > <a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetCurrentAreaID() %>/LineList.html">活动线路</a> > 活动详细 </p></div>
				</div>
				<div class="circuit_info bg border spacing">
					<div class="title greentitle"><h3>线路详细</h3><div class="clear"></div></div>
					<div class="circuit_info_con">
						<h4><% =line.Name %></h4>
						<img src="/UserImages/Lines/<% =PageHelper.GetImageUrl(line.ImgUrl01,"L_") %>"/>
						<ul>
							<li>类型：<% =LineHelper.GetTypeLabel(line.Type) %></li>
							<li>难度：<% =LineHelper.GetGradeLabel(line.Grade)%></li>
							<li>天数：<% =line.Grade %>天</li>
							<li>预计费用：<label><% =line.Price %></label>元</li>
							<li>集结地：<% =AreaBLL.GetAreaName(line.DestinationProvinceID) + " " + AreaBLL.GetAreaName(line.DestinationCityID) + " " + AreaBLL.GetAreaName(line.DestinationAreaID) %></li>
							<li>目的地：<% =AreaBLL.GetAreaName(line.StagingProvinceID) + " " + AreaBLL.GetAreaName(line.StagingCityID) + " " + AreaBLL.GetAreaName(line.StagingAreaID)%></li>
							<li>已报名：<% =lineMemberCount %>人</li>
							<li style="width:360px;">出发/结束日期：
                            <asp:Repeater ID="rptLineSchedule" runat="server">
                            <ItemTemplate>
                                <%# Eval("DepartureDate","{0:D}") %> - <%# ((DateTime)Eval("DepartureDate")).AddDays(line.Grade).ToLongDateString() %>
                            </ItemTemplate>
                            </asp:Repeater>
                            </li>
							<li><asp:LinkButton ID="butReserve" runat="server" CssClass="submit" onclick="butReserve_Click">我要报名</asp:LinkButton></li>
							<li><!-- Baidu Button BEGIN -->
                                <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
                                <a class="bds_qzone"></a>
                                <a class="bds_tsina"></a>
                                <a class="bds_tqq"></a>
                                <a class="bds_renren"></a>
                                <a class="bds_t163"></a>
                                <span class="bds_more">更多</span>
                                <a class="shareCount"></a>
                                </div>
                                <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=0" ></script>
                                <script type="text/javascript" id="bdshell_js"></script>
                                <script type="text/javascript">
                                    document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date() / 3600000)
                                </script>
                                <!-- Baidu Button END -->
                            </li>
						</ul>
						<div class="clear"></div>
					</div>
					<div class="title greentitle"><h3>线路特色</h3><div class="clear"></div></div>
					<div class="content">
						<% =Server.HtmlDecode(line.LineFeatures) %>
					</div>
					<div class="title greentitle"><h3>参考行程</h3><div class="clear"></div></div>
					<div class="content">
						<% =Server.HtmlDecode(line.ReferenceStroke) %>
					</div>
					<div class="title greentitle"><h3>费用说明</h3><div class="clear"></div></div>
					<div class="content">
						<% =Server.HtmlDecode(line.CostDescription) %>
					</div>
					<div class="title greentitle"><h3>注意事项</h3><div class="clear"></div></div>
					<div class="content">
						<% =Server.HtmlDecode(line.Precautions) %>
					</div>
				</div>
				<%--<div class="questions_answer bg border spacing">
					<div class="title bluetitle"><h3>留言答疑</h3><div class="clear"></div></div>
					<ul class="q_a_content">
						<li><h4>问：<label>王拂春网</label> 的提问 <span>(2011-3-8 17:00:15)</span></h4>
						<p>这条个活动要是天气情况不好怎么办？</p></li>
						<li><h4>答：<label>合肥行者户外运动俱乐部</label> 的回复：<span>(2011-3-8 17:00:15)</span></h4>
						<p>如果天气情况不好，为了大家安全我们就延期。</p></li>
						<li><h4>问：<label>王拂春网</label> 的提问 <span>(2011-3-8 17:00:15)</span></h4>
						<p>这条个活动要是天气情况不好怎么办？</p></li>
						<li><h4>答：<label>合肥行者户外运动俱乐部</label> 的回复：<span>(2011-3-8 17:00:15)</span></h4>
						<p>如果天气情况不好，为了大家安全我们就延期。</p></li>
					</ul>
				</div>--%>
				<%--<div class="ask border bg spacing">
					<div class="title bluetitle"><h3>我要提问</h3><div class="clear"></div></div>
					<table class="ask_content" cellpadding="0" cellspacing="0" style="border-collapse:collapse;">
						<tbody>
						<tr>
							<td>您所在的地区：</td>
							<td><select name="circle">
										<option value="0">请选择</option>
										<option value="0">请选择</option>
										<option value="0">请选择</option>
									</select> </td>
						</tr>
						<tr>
							<td>发表提问内容：</td>
							<td><textarea name="textarea" id="textarea" cols="45" rows="5"></textarea></td>
						</tr>
						<tr>
							<td></td>
							<td><input class="submit" type="submit" value="提交"></td>
						</tr>
					</tbody>
					</table>
				</div>--%>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</asp:Content>
